package com.ly.heart.mapper;

import com.ly.heart.domain.KingBaseTaxRateCategoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 金蝶-税率-税种 Mapper 接口
 * </p>
 *
 * @author WuZH
 * @since 2024-08-20
 */
@Mapper
public interface KingBaseTaxRateCategoryMapper extends BaseMapper<KingBaseTaxRateCategoryEntity> {

    /**
     * 查询金蝶-税率-税种
     *
     * @param id 金蝶-税率-税种ID
     * @return 金蝶-税率-税种
     */
    public KingBaseTaxRateCategoryEntity selectKingBaseTaxRateCategoryEntityById(String id);

    /**
     * 查询金蝶-税率-税种列表
     *
     * @param kingBaseTaxRateCategoryEntity 金蝶-税率-税种
     * @return 金蝶-税率-税种集合
     */
    public List<KingBaseTaxRateCategoryEntity> selectKingBaseTaxRateCategoryEntityList(KingBaseTaxRateCategoryEntity kingBaseTaxRateCategoryEntity);

    /**
     * 新增金蝶-税率-税种
     *
     * @param kingBaseTaxRateCategoryEntity 金蝶-税率-税种
     * @return 结果
     */
    public int insertKingBaseTaxRateCategoryEntity(KingBaseTaxRateCategoryEntity kingBaseTaxRateCategoryEntity);

    /**
     * 修改金蝶-税率-税种
     *
     * @param kingBaseTaxRateCategoryEntity 金蝶-税率-税种
     * @return 结果
     */
    public int updateKingBaseTaxRateCategoryEntity(KingBaseTaxRateCategoryEntity kingBaseTaxRateCategoryEntity);

    /**
     * 删除金蝶-税率-税种
     *
     * @param id 金蝶-税率-税种ID
     * @return 结果
     */
    public int deleteKingBaseTaxRateCategoryEntityById(String id);

    /**
     * 批量删除金蝶-税率-税种
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteKingBaseTaxRateCategoryEntityByIds(String[] ids);

}
